package com.wkg.springblogdemo.service;

import com.wkg.springblogdemo.pojo.request.BlogInfoRequest;
import com.wkg.springblogdemo.pojo.request.UpdateBlogRequtst;
import com.wkg.springblogdemo.pojo.response.BlogDetailResponse;
import com.wkg.springblogdemo.pojo.response.BlogInfoResponse;

import java.util.List;

public interface BlogService {
    List<BlogInfoResponse> getList();

    BlogDetailResponse getDetail(Integer blogId);

    Boolean addBlog(BlogInfoRequest blogInfoRequest);

    Boolean blogUpdate(UpdateBlogRequtst updateBlogRequtst);

    Boolean deleteUpdate(Integer blogId);
}
